/*
 * 
 */
package fr.univtln.superplanning.api;

import fr.univtln.superplanning.api.actor.IPersonManager;
import fr.univtln.superplanning.api.administration.IRightsAccessLevelManager;
import fr.univtln.superplanning.api.constraint.IConstraintManager;
import fr.univtln.superplanning.api.event.IEventManager;
import fr.univtln.superplanning.api.resources.IRessourceManager;
import fr.univtln.superplanning.api.study.IStudyManager;
import fr.univtln.superplanning.gui.BundleManager;

// TODO: Auto-generated Javadoc
/**
 * This class provides generic method for the SuperplanningManager. It's
 * provides a DAO abstraction.
 * 
 * @author vincent
 * 
 */
public abstract class AbstractSuperplanningManager implements ISuperplanningManager {

	/** The person manager. */
	protected IPersonManager personManager;
	
	/** The rights access level manager. */
	protected IRightsAccessLevelManager rightsAccessLevelManager;
	
	/** The constraint manager. */
	protected IConstraintManager constraintManager;
	
	/** The event manager. */
	protected IEventManager eventManager;
	
	/** The ressource manager. */
	protected IRessourceManager ressourceManager;
	
	/** The study manager. */
	protected IStudyManager studyManager;

	protected BundleManager bundleManager ;
	
	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getPersonManager()
	 */
	public IPersonManager getPersonManager() {
		return personManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setPersonManager(fr.univtln.superplanning.api.actor.IPersonManager)
	 */
	public void setPersonManager(IPersonManager personManager) {
		this.personManager = personManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getRightsAccessLevelManager()
	 */
	public IRightsAccessLevelManager getRightsAccessLevelManager() {
		return rightsAccessLevelManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setRightsAccessLevelManager(fr.univtln.superplanning.api.administration.IRightsAccessLevelManager)
	 */
	public void setRightsAccessLevelManager(IRightsAccessLevelManager rightsAccessLevelManager) {
		this.rightsAccessLevelManager = rightsAccessLevelManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getConstraintManager()
	 */
	public IConstraintManager getConstraintManager() {
		return constraintManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setConstraintManager(fr.univtln.superplanning.api.constraint.IConstraintManager)
	 */
	public void setConstraintManager(IConstraintManager constraintManager) {
		this.constraintManager = constraintManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getEventManager()
	 */
	public IEventManager getEventManager() {
		return eventManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setEventManager(fr.univtln.superplanning.api.event.IEventManager)
	 */
	public void setEventManager(IEventManager eventManager) {
		this.eventManager = eventManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getRessourceManager()
	 */
	public IRessourceManager getRessourceManager() {
		return ressourceManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setRessourceManager(fr.univtln.superplanning.api.resources.IRessourceManager)
	 */
	public void setRessourceManager(IRessourceManager ressourceManager) {
		this.ressourceManager = ressourceManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#getStudyManager()
	 */
	public IStudyManager getStudyManager() {
		return studyManager;
	}

	/* (non-Javadoc)
	 * @see fr.univtln.superplanning.api.ISuperplanningManager#setStudyManager(fr.univtln.superplanning.api.study.IStudyManager)
	 */
	public void setStudyManager(IStudyManager studyManager) {
		this.studyManager = studyManager;
	}

	public BundleManager getBundleManager() {
		return bundleManager;
	}

	public void setBundleManager(BundleManager bundleManager) {
		this.bundleManager = bundleManager;
	}

}
